#!/bin/sh

# configure system profile
echo 1 > /proc/sys/net/ipv4/ip_forward

# configure eth0 -- IPv4 public interface
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth0 192.168.1.2/24
route add default gw 192.168.1.1 eth0

# configure eth1 -- IPv4 private interface
ifconfig eth1 down
ifconfig eth1 up
ifconfig eth1 10.0.0.1/8

